package com.ruoyi.js.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import java.util.Date;

/**
 * 小项对象 js_item
 * 
 * @author greejoy
 * @date 2024-04-22
 */
public class JsItem extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    public JsItem(){}

    public JsItem(Long matchId){
        this.matchId = matchId;
    }

    /** ID */
    private Long id;

    /** 序号 */
    @Excel(name = "序号")
    private Integer odr;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** 简介 */
    @Excel(name = "简介")
    private String info;

    /** 比赛ID */
    @Excel(name = "比赛ID")
    private Long matchId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setOdr(Integer odr)
    {
        this.odr = odr;
    }

    public Integer getOdr()
    {
        return odr;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public void setInfo(String info) 
    {
        this.info = info;
    }

    public String getInfo() 
    {
        return info;
    }

    public void setMatchId(Long matchId)
    {
        this.matchId = matchId;
    }

    public Long getMatchId() 
    {
        return matchId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("odr", getOdr())
            .append("name", getName())
            .append("info", getInfo())
            .append("matchId", getMatchId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
